package org.gitee.weapp.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.gitee.weapp.domain.entity.Goods;
import org.gitee.weapp.domain.entity.GoodsCategory;

import java.util.List;

@Mapper
public interface GoodsMapper {

    List<GoodsCategory> getAllGoodsCategory();

    List<Goods> getGoodsByCategoryId(@Param("categoryId") Integer categoryId);
}
